import { promisic } from "./base";

const getSetting = async (params) => {
    return await promisic(wx.getSetting)(params)
}

const chooseAddress = async (params) => {
    return await promisic(wx.chooseAddress)(params)
}

const openSetting = async (params) => {
    return await promisic(wx.openSetting)(params)
}

const showToast = async (params) => {
    return await promisic(wx.showToast)(params)
}

export {
    getSetting,
    chooseAddress,
    openSetting,
    showToast
}
